import Vue from 'vue'
import Router from 'vue-router'
import New_people from '@/components/New_people'
import index from '@/views/index'
import find from '@/views/find'
import Order from '@/views/Order'
import My from '@/views/My'
// import commodity_list from '@/views/commodity_list'
import list1 from '@/components/list1'
import list2 from '@/components/list2'
import list3 from '@/components/list3'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: index
    },
    {
      path: '/index',
      component: index
    },
    {
      path: '/find',
      component: find
    },
    {
      path: '/Order',
      component: Order
    },
    {
      path: '/My',
      component: My
    },
    {
      path: '/New_people',
      component: New_people
    },
    // {
    //   // path: '/commodity_list',
    //   // component: commodity_list
    // },
    {
      path: '/list1',
      component: list1
    },
    {
      path: '/list1',
      component: list1
    },
    {
      path: '/list2',
      component: list2
    },
    {
      path: '/list3',
      component: list3
    }
  ]
})
